package cn.com.w.dao.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author w
 * @since 2025-05-07
 */
@Getter
@Setter
@ToString
@TableName("sys_user_password")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SysUserPassword implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户名id和密码
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户名id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 密码
     */
    @TableField("password")
    private String password;

    public static final String ID = "id";

    public static final String USER_ID = "user_id";

    public static final String PASSWORD = "password";
}
